/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package proyectocompimusica;
    import javax.swing.JFrame;

    import abc.notation.Tune;
    import abc.parser.TuneParser;
    import abc.ui.swing.JScoreComponent;
import javax.swing.tree.DefaultMutableTreeNode;
/**
 *
 * @author eddytrex
 */
public class main {


public static void main (String[] arg) {
        String tuneAsString = "X:0\nT:A simple scale exercise\nK:D\n  z4\n";
        Tune tune = new TuneParser().parse(tuneAsString);
        JScoreComponent scoreUI =new JScoreComponent();
        scoreUI.setTune(tune);
        JFrame j = new JFrame();
        j.add(scoreUI);
        j.pack();
       
        j.setVisible(true);
        
        
        DefaultMutableTreeNode temp = new DefaultMutableTreeNode("aaa");
        
        
        
        
}
}
